﻿using ThingsEdge.Contracts;

namespace Digitalmes.Infrastructure.Scada.Handlers;

/// <summary>
/// 消息结束到的事件处理。
/// </summary>
internal interface IReciveMessageHandler
{
    /// <summary>
    /// 接收数据。
    /// </summary>
    /// <param name="requestMessage">请求消息。</param>
    /// <param name="cancellationToken"></param>
    /// <returns></returns>
    Task ReciveAsync(RequestMessage requestMessage, CancellationToken cancellationToken);
}
